package com.muse.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.muse.utils.BigDecimalSerializer2;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * User: lee
 * Date: 2021/5/12
 * Time: 8:32 下午
 * Description:
 */
@Data
public class CustomerOperation {
    private Integer id;
    private Integer customerId;
    private String operationProject;
    private String operationTool;
    private String colorPlan;
    @JsonSerialize(using = BigDecimalSerializer2.class)
    private BigDecimal price;
    private String remark;
    private String images;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate createTime;
}
